package com.wynn.dao;

import com.wynn.pojo.ProductLine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProductLineDao {

    @Select("select *from productLine")
    List<ProductLine> findAllProductLine();

    @Select("select * from productLine where id =#{id}")
    ProductLine findProductLineById(int id);

}
